"""
SCL-90心理评估API URL配置
"""
from django.urls import path
from . import views

app_name = 'assessment'

urlpatterns = [
    # 核心API接口
    path('submit/', views.submit_assessment, name='submit_assessment'),
    path('result/<str:test_id>/', views.get_assessment_result, name='get_result'),
    path('shortlink/', views.get_short_url, name='get_short_url'),
    
    # 短链接重定向
    path('r/<str:test_id>/', views.redirect_to_result, name='redirect_result'),
    
    # 系统监控接口
    path('stats/', views.storage_stats, name='storage_stats'),
    path('health/', views.health_check, name='health_check'),
] 